package com.weiadmin.validate;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 功能描述
 *
 * @author: shizhongyu
 * @date: 2023年06月01日 14:32
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@ApiModel(value="ArticleRequest对象", description="文章管理表")
public class LoginValidate implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "账号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
